// 代码块
import {
  observable,
  action
} from 'mobx-miniprogram'
export const writestore = observable({
  //数据字段 - 类似于vuex中的state
  writestrategy:{},
  
  //actions
  updatewritestrategy: action(function (writestrategy) {
    this.writestrategy={...writestrategy}
  })
})